package com.example.student.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.domain.pojo.Attendance;

import java.util.List;

public interface AttendanceService extends IService<Attendance> {

    // 根据学生id查询
    Attendance StudentgetAttendance(String studentId);

    // 根据学生id查询
    List<Attendance> getByStudentIds(String studentId);

    // 签到
    Attendance signIn(String studentId, String signId);

    // 判断是否签到
    boolean IsSignIn(String studentId, String signId, String code);

}
